<template>
  <div class="chat">
    <header class="header">
      <h1>聊天</h1>
    </header>
    <chat-window />
  </div>
</template>

<script setup lang="ts">
import ChatWindow from '@/components/ChatWindow.vue'
</script>

<style scoped>
.chat {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.header {
  padding: 16px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header h1 {
  margin: 0;
  font-size: 18px;
  text-align: center;
}
</style> 